package org.come.Jpanel;

import javax.swing.JPanel;

import com.tool.btn.WorkshopRefiningBtn;
import com.updateNew.MyIsif;

 

/**
 * @author Administrator 套装合成
 */
public class SetsynthesisJpanel extends JPanel {

    private SetsynthesisCardJpanel cardJpanel;

    /**
     * 字段名:labSynthesis 点击跳到合成界面<br>
     * 字段名:labWash 点击跳到洗炼界面<br>
     * 字段名:labUpgrade 点击跳到套装升级界面 <br>
     * 字段名:labJadeUp 点击跳到玉符升级界面<br>
     * 字段名:labTransfer 点击跳到拆解/转移界面 <br>
     */
    private WorkshopRefiningBtn labSynthesis,// 点击跳到合成界面
            labWash,// 点击跳到洗炼界面
            labUpgrade,// 点击跳到套装升级界面
            labJadeUp,// 点击跳到玉符升级界面
            labTransfer;// 点击跳到拆解/转移界面

    public SetsynthesisJpanel() {
        this.setLayout(null);
        this.setOpaque(false);
        if ("水墨UI".equals(MyIsif.getStyle())) {
            cardJpanel = new SetsynthesisCardJpanel();
            cardJpanel.setBounds(47, 74, 490, 428);
            this.add(cardJpanel);

            /** 合成10 洗炼11 套装升级12 玉符升级13 拆解/转移 14 */
            // 点击跳到合成界面
            labSynthesis = new WorkshopRefiningBtn("skin/8100226/newbutton/K38.png", 1, 10, this);
            labSynthesis.setBounds(55 + 0 * 92, 49, 90, 24);
            this.add(labSynthesis);
            // 点击跳到洗炼界面
            labWash = new WorkshopRefiningBtn("skin/8100226/newbutton/K39.png", 1, 11, this);
            labWash.setBounds(55 + 1 * 92, 49, 90, 24);
            this.add(labWash);
            // 点击跳到套装升级界面
            labUpgrade = new WorkshopRefiningBtn("skin/8100226/newbutton/K41.png", 1, 12, this);
            labUpgrade.setBounds(55 + 2 * 92, 49, 90, 24);
            this.add(labUpgrade);
            // 点击跳到玉符升级界面
            labJadeUp = new WorkshopRefiningBtn("skin/8100226/newbutton/K43.png", 1, 13, this);
            labJadeUp.setBounds(55 + 3 * 92, 49, 90, 24);
            this.add(labJadeUp);
            // 点击跳到拆解/转移界面
            labTransfer = new WorkshopRefiningBtn("skin/8100226/newbutton/K45.png", 1, 14, this);
            labTransfer.setBounds(55 + 4 * 92, 49, 90, 24);
            this.add(labTransfer);
        } else {
            cardJpanel = new SetsynthesisCardJpanel();
            cardJpanel.setBounds(22, 86, 490, 428);
            this.add(cardJpanel);

            /** 合成10 洗炼11 套装升级12 玉符升级13 拆解/转移 14 */
            // 点击跳到合成界面
            this.labSynthesis = new WorkshopRefiningBtn("inkImg/hongmu/2/setsynthesis_1.png", 1, 10, this);
            this.labSynthesis.setBounds(31, 60, 86, 26);
            this.add(this.labSynthesis);
            this.labWash = new WorkshopRefiningBtn("inkImg/hongmu/2/setsynthesis_2.png", 1, 11, this);
            this.labWash.setBounds(119, 60, 86, 26);
            this.add(this.labWash);
            this.labUpgrade = new WorkshopRefiningBtn("inkImg/hongmu/2/setsynthesis_4.png", 1, 12, this);
            this.labUpgrade.setBounds(207, 60, 86, 26);
            this.add(this.labUpgrade);
            this.labJadeUp = new WorkshopRefiningBtn("inkImg/hongmu/2/setsynthesis_6.png", 1, 13, this);
            this.labJadeUp.setBounds(295, 60, 86, 26);
            this.add(this.labJadeUp);
            this.labTransfer = new WorkshopRefiningBtn("inkImg/hongmu/2/setsynthesis_8.png", 1, 14, this);
            this.labTransfer.setBounds(383, 60, 86, 26);
            this.add(this.labTransfer);
        }
    }

    public SetsynthesisCardJpanel getCardJpanel() {
        return cardJpanel;
    }

    public void setCardJpanel(SetsynthesisCardJpanel cardJpanel) {
        this.cardJpanel = cardJpanel;
    }

    /**
     * 字段名:labSynthesis 点击跳到合成界面
     *
     * @return
     */
    public WorkshopRefiningBtn getLabSynthesis() {
        return labSynthesis;
    }

    public void setLabSynthesis(WorkshopRefiningBtn labSynthesis) {
        this.labSynthesis = labSynthesis;
    }

    /**
     * 字段名:labWash 点击跳到洗炼界面
     *
     * @return
     */
    public WorkshopRefiningBtn getLabWash() {
        return labWash;
    }

    public void setLabWash(WorkshopRefiningBtn labWash) {
        this.labWash = labWash;
    }

    /**
     * 字段名:labUpgrade 点击跳到套装升级界面
     *
     * @return
     */
    public WorkshopRefiningBtn getLabUpgrade() {
        return labUpgrade;
    }

    public void setLabUpgrade(WorkshopRefiningBtn labUpgrade) {
        this.labUpgrade = labUpgrade;
    }

    /**
     * 字段名:labJadeUp 点击跳到玉符升级界面
     *
     * @return
     */
    public WorkshopRefiningBtn getLabJadeUp() {
        return labJadeUp;
    }

    public void setLabJadeUp(WorkshopRefiningBtn labJadeUp) {
        this.labJadeUp = labJadeUp;
    }

    /**
     * 字段名:labTransfer 点击跳到拆解/转移界面
     *
     * @return
     */
    public WorkshopRefiningBtn getLabTransfer() {
        return labTransfer;
    }

    public void setLabTransfer(WorkshopRefiningBtn labTransfer) {
        this.labTransfer = labTransfer;
    }

}
